package mx.example.com.mvpdemo.base;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;


/**
 * Created by maixin on 2018/4/10.
 */

public abstract class BaseActivity <T extends BasePresenter> extends AppCompatActivity implements BaseView<T> {
    protected T mPresenter;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setPresenter(mPresenter);
    }
}
